﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="login.aspx.cs" Inherits="login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>用户登陆</title>
    <link href="css/User_Login.css" rel="stylesheet" type="text/css" />
</head>
<script language="javascript">
    function window_onload(username,pwd) {
        
        var sw, sh, left, top;
        if (screen.width != 800) { sw = 1024; sh = 768; }
        left = (screen.width - sw) / 2;
        top = (screen.height - sh) / 2;
        sh = sh - 60;
        sw = sw - 8;

        var windowName = "_blank";

        var orgSelPage = "Default.aspx";
        self.window.open(orgSelPage, "_blank", "fullscreen=yes,toolbar=no,location=no,directories=no,status=yes,resizable=no,menubar=no,scrollbars=yes,left=" + left + ",top=" + top + ",height=" + sh + ",width=" + sw);
        window.opener = "login";
        window.open("", "_self");
        window.close();

    }
</script>
<BODY id="userlogin_body">
<form runat="server">
<DIV id="user_login">
<DL>
  <DD id="user_top">
  <UL>
    <LI class="user_top_l"></LI>
    <LI class="user_top_c"></LI>
    <LI class="user_top_r"></LI></UL>
  <DD id="user_main">
  <UL>
    <LI class="user_main_l"></LI>
    <LI class="user_main_c">
    <DIV class="user_main_box">
    <UL>
      <LI class="user_main_text">用户名： </LI>
      <LI class="user_main_input">
      <%--<INPUT class="TxtUserNameCssClass" id="TxtUserName" maxLength=20 name="TxtUserName"> </LI>--%>
          <asp:TextBox ID="TxtUserName" class="TxtUserNameCssClass" maxLength=20 runat="server"></asp:TextBox></LI>
        <asp:RequiredFieldValidator ID="userNameVal" runat="server" 
            ErrorMessage="用户名能为空" ControlToValidate="TxtUserName">*</asp:RequiredFieldValidator>
        </UL>
    <UL>
    
      <LI class="user_main_text">密&nbsp;&nbsp;&nbsp;  码： </LI>
      <LI class="user_main_input">
      <%--<INPUT class="TxtPasswordCssClass" id="TxtPassword" type="password" name="TxtPassword"> --%>
          <asp:TextBox ID="TxtPassword" class="TxtPasswordCssClass" runat="server" 
              TextMode="Password"></asp:TextBox>
      </LI></UL>
    <UL>
        </UL></DIV></LI>
    <LI class="user_main_r">
    
  <asp:ImageButton class="IbtnEnterCssClass" ID="IbtnEnter" name="IbtnEnter" 
    style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; 
        BORDER-RIGHT-WIDTH: 0px" runat="server" 
            ImageUrl="~/image/user_botton.gif" onclick="IbtnEnter_Click" 
            Height="130px" Width="121px" BorderStyle="None" />
        
   <%-- <INPUT class="IbtnEnterCssClass" id="IbtnEnter" 
    style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" 
    onclick='javascript:window_onload(TxtUserName.value,TxtPassword.value)' type="image" src="image/user_botton.gif" name=IbtnEnter> --%></LI></UL>
  <DD id="user_bottom">
  <UL>
    <LI class="user_bottom_l"></LI>
    <LI class="user_bottom_c">
        <SPAN style="MARGIN-TOP: 40px">北京微创思源预算管理系统&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN> &nbsp;</LI>
    <LI class="user_bottom_r"></LI></UL></DD></DL></DIV>
    <SPAN id="ValrUserName" style="DISPLAY: none; COLOR: red">
    </SPAN><SPAN id="ValrPassword" style="DISPLAY: none; COLOR: red">
    </SPAN><SPAN id="ValrValidateCode" style="DISPLAY: none; COLOR: red">
    </SPAN>
<DIV id="ValidationSummary1" style="DISPLAY: none; COLOR: red"></DIV>

</FORM>
</BODY>
</HTML>
